Director Article

3D User Interfaces and 3D App Building Using the Chrome Library Set of Behaviors


Table of Contents

  1. Introduction
  2. Setting Up the Texture Render Format
  3. Setting Up Hardware Anti-Aliasing (FSAA)
  4. Setting Up the Shader Blend Level for Reflection
  5. Opening and Closing the Movable Parts of the Car
  6. Creating a UI on Top of the 3D Scene
  7. Changing the Camera
  8. Creating a 3D Navigation System for a Website
  9. Controlling Flash from Shockwave 3D
  10. Afterword and Conclusion

Setting Up Hardware Anti-Aliasing (FSAA)

If your 3D graphics card is Direct X compliant and is capable of hardware anti-aliasing (Full Screen Anti-Aliasing), you can activate it on your Shockwave 3D scene using the Chrome Lib. Even entry-level graphics cards such as the ATI Radeon 7000 are now endowed with FSAA under DirectX 7, so you can easily benefit from this feature. However, hardware anti-aliasing is only available with Director MX 2004 and version 10 of Macromedia Shockwave Player.

The Anti-Aliasing behavior

Figure 3. The Anti-Aliasing behavior

  1. Drag and drop the Anti-Aliasing behavior from the Chrome Lib onto the W3D sprite, either on the Stage or in the Score. The following dialog box appears:

  2. The Anti-Aliasing Parameters dialog box

    Figure 4. The Anti-Aliasing Parameters dialog box

  3. Check the Hardware Anti-Aliasing box. Click OK.
  4. Click the Play button in the Control panel or press Enter to start the movie. The scene is now anti-aliased and looks much better.

The smooth anti-aliased scene.

Figure 5. The smooth anti-aliased scene.

Not only does hardware anti-aliasing improve rendering quality—it doesn't slow rendering speed as is the case with software anti-aliasing. For hardware anti-aliasing, the graphics card GPU (Graphics Processing Unit) wires this function. For software anti-aliasing, it is the computer's CPU that does all the required computation, hence the slowdown.